package com.cvte.shop.util;

import com.cvte.csb.store.aws.interfaces.IAWSStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author DaiShubo
 * @version 1.0
 * @description 文件的util类
 * @createTime 2020/7/28 3:32 下午
 * @since 1.7
 **/
public class FileUtil {

    @Autowired
    private IAWSStore store;

    /**
     * 默认上传文件的路径
     */
    private static String DEFAULT_FILE_PATH = "/csb/store/test/";

    public static void uploadFile(String newFileName, String dirtName,MultipartFile file){

    }

    public static void uploadFile(String newFileName,MultipartFile file){


    }
//    public static void uploadFile(String dirtName,MultipartFile file){
//
//    }
}
